function save() {
    let data = {
        name: $("#name").val(),
        code: $("#code").val(),
        introduce: $("#introduce").text(),
        status:$("input:radio[name='status']:checked").val()
    };
    let result = myAjax("/api/rb/role/add", data,"post");
    if (result.data === "isHave" ) {
        alert("当前角色名已存在了哟！！！(=^ ^=)")
    } else if (result.code === 200 ) {
        layer.alert("新增成功！！！(=^ ^=)",{icon:1});
        x_admin_close();
        x_admin_father_reload()
    } else {
        layer.alert("新增失败，请重新输入!!!(=^ ^=)",{icon:2});
    }
}